package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 意见 feedback
 *
 * @author 石涛
 * &#064;date  2023-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("意见")
public class Feedback extends BaseEntity {

    /**
     * 意见id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "意见id")
    private Long id;

    /**
     * 意见类型
     */
    @Excel(name = "意见类型")
    @ApiModelProperty(value = "意见类型")
    private String type;

    /**
     * 提交人
     */
    @Excel(name = "提交人")
    @ApiModelProperty(value = "提交人")
    private String presenter;

    /**
     * 提交内容
     */
    @Excel(name = "提交内容")
    @ApiModelProperty(value = "提交内容")
    private String content;

    /**
     * 更新者
     */
    @Getter
    private String createBy;

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 更新者
     */
    @Getter
    private String updateBy;

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
}
